using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class HowToPlayDialog : DialogBase
{
    [SerializeField]private GameObject infoPanel;
    [SerializeField]private GameObject controlPanel;
    [SerializeField]private Button controlButton;
    [SerializeField]private Button infoButton;

    

    public void InfoButtonClicked()
    {   
        infoPanel.SetActive(true);
        controlPanel.SetActive(false);
        infoButton.interactable = false;
        controlButton.interactable = true;
    }

    public void ControlButtonClicked()
    {   
        infoPanel.SetActive(false);
        controlPanel.SetActive(true);
        infoButton.interactable = true;
        controlButton.interactable = false;
    }
}